memset() is used in gdk/x11/gdkinput-xfree.c but string.h is not included.
Patch by Vincent Untz, bug 597026.
*/
#include "config.h"
+#include <string.h>
#include "gdkinputprivate.h"
#include "gdkdisplay-x11.h"
#include "gdkalias.h"
((gdkdev->button_count != 0) || need_ungrab))
{
XUngrabDevice (display_impl->xdisplay, gdkdev->xdevice, time);
- memset(gdkdev->button_state, 0, sizeof (gdkdev->button_state));
+ memset (gdkdev->button_state, 0, sizeof (gdkdev->button_state));
gdkdev->button_count = 0;
}